<script>
export default {
  name: 'ExpansionWrap',
  props: {
    element: {
      type: Object,
      default: () => {
      }
    },
    gutter: {
      type: Number,
      default: 24
    },
    ctx: {
      type: Object,
      default: () => {
      }
    },
    size: {
      type: String,
      default: 'default'
    },
    isDesign: {
      type: Boolean,
      default: false
    }
  }
}
</script>

<template>
  <el-form-item
    :label="element.label"
    :prop="element.prop"
    :rules="element.rules"
    :error="element.error"
    :required="element.required"
    :label-width="element.labelWidth"
    :prop-name="element.propName"
  >
    <template v-if="element.type === 'card'" />
  </el-form-item>
</template>

<style scoped lang="scss">

</style>
